package com.longcai.service.goods;

import com.longcai.bean.ApiResult;
import com.longcai.entity.homegood.ClyjGoodsHomepage;
import com.longcai.entity.homegood.ClyjGoodsSpec;
import com.longcai.entity.homegood.ClyjGoodsVo;
import com.longcai.entity.homepage.GoodsClass;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.util.Page;

/**
 * <p>
 * 首页商品表 服务类
 * </p>
 *
 * @author LWK
 * @since 2019-03-22
 */
public interface ClyjGoodsHomepageService extends IService<ClyjGoodsHomepage> {

	List<GoodsClass> listByBrandId(String goodsId);

	void deleteType(ClyjGoodsVo goodsClas2s);

	void insertType(ClyjGoodsVo goodsClas2s);

	void deleteSpec(ClyjGoodsVo goodsClas2s);
	
	void insertSpec(ClyjGoodsVo goodsClas2s);

	List<ClyjGoodsSpec> getSpecByGoodsId(String goodsId);

	void deletePics(ClyjGoodsVo goodsClas2s);

	ApiResult getGoodsByType(String string);

}
